package com.zzyl.nursing.job;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;


@Component
@Slf4j
public class Hello {

//    @Scheduled(cron = "0/5 * * * * ?")
    public void Test(){
        log.info("我执行了{}", LocalDateTime.now());

    }}
